<%@ page import="history.*" %>

<div class="fieldcontain ${hasErrors(bean: powerInstance, field: 'url', 'error')} required">
	<label for="url">
		<g:message code="power.url.label" default="Url" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="url" required="" value="${powerInstance?.url}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: powerInstance, field: 'menu', 'error')} required">
	<label for="menu">
		<g:message code="power.menu.label" default="Menu" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="menu" required="" value="${powerInstance?.menu}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: powerInstance, field: 'item', 'error')} required">
	<label for="item">
		<g:message code="power.item.label" default="Item" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="item" required="" value="${powerInstance?.item}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: powerInstance, field: 'memo', 'error')} ">
	<label for="memo">
		<g:message code="power.memo.label" default="Memo" />
		
	</label>
	<g:textField name="memo" value="${powerInstance?.memo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: powerInstance, field: 'teams', 'error')} ">
	<label for="teams">
		<g:message code="power.teams.label" default="Teams" />
		
	</label>
	<g:select name="teams" from="${history.Team.list()}" multiple="multiple" optionKey="id" size="5" value="${powerInstance?.teams*.id}" class="many-to-many"/>
</div>

